package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Demand {
    private Integer id;

    private String demandName;
    private String bgContract;
    private String bgProject;
    private String proposer;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date proposeTime;
    private String demandSource;
    private Integer state;
    private Integer planTime;
    private Integer change;
}